#include "vertice.h"

Vertice::Vertice()
{
    this->calculado = false;
}

Vertice::~Vertice()
{
}

Ponto Vertice::getNormal(){
    return this->normal;
}

unsigned char Vertice::getCorR(){
    return this->cor.getR();
}

unsigned char Vertice::getCorG(){
    return this->cor.getG();
}

unsigned char Vertice::getCorB(){
    return this->cor.getB();
}

Cor Vertice::getCor(){
    return this->cor;
}

bool Vertice::foiCalculado(){
    return this->calculado;
}

void Vertice::setNormal(Ponto p){
    this->normal = p;
}

void Vertice::setCorR(unsigned char corR){
    this->cor.setR(corR);
}

void Vertice::setCorG(unsigned char corG){
    this->cor.setG(corG);
}

void Vertice::setCorB(unsigned char corB){
    this->cor.setB(corB);
}

void Vertice::setCor(Cor cor){
    this->cor = cor;
}

void Vertice::setCalculado(bool calculado){
    this->calculado = calculado;
}
